<template>
  <!-- 发起人配置 -->
  <div>
    <el-tabs v-model="activeName">
<!--      <el-tab-pane label="基本设置" name="base">
        <el-form :model="props.config" label-width="80px">
          <el-form-item label="发起人">
            <el-input v-model="props.config.name" />
          </el-form-item>
        </el-form>
      </el-tab-pane>-->
      <el-tab-pane label="表单操作权限" name="permissions">
        <Permissions :config="props.config" :node-type="START" />
      </el-tab-pane>
    </el-tabs>

  </div>
</template>

<script setup name="StartDrawer">
import Permissions from "../../components/Permissions";
import {getCurrentInstance, inject, ref} from "vue";
import {KEY_PROCESS_DATA} from "../../config/keys";
import {START} from "@/components/EasyProcess/config/nodeType";

const props = defineProps({
  config: { // 传入的流程配置数据
    type: Object,
    default: {}
  },
});

const { proxy } = getCurrentInstance();
const activeName = ref('permissions')

// 获取流程数据
const processData = inject(KEY_PROCESS_DATA)
</script>

<style lang="less" scoped>

</style>
